<?php include("ajaxinlcudes.php");
$q =$_GET['qs'];

$rs_pa = searchContent($q);
$row_rs_pa = mysql_fetch_assoc($rs_pa);

?><table width="100%" border="0" cellpadding="0" cellspacing="0">
  <?php do { ?>
    <tr>
      <td><a href="?page=content&amp;itemid=<?php echo $row_rs_pa['content_id']; ?>"><?php echo $row_rs_pa['page_title']; ?></a></td>
      <td align="right"><a href="?page=content&amp;cid=<?php echo $row_rs_pa['content_id']; ?>">add page</a></td>
    </tr>
    <?php } while ($row_rs_pa = mysql_fetch_assoc($rs_pa)); ?>
</table>

<?php
mysql_free_result($rs_pa);
?>
